Modules

Macros

Call Wasm function that have Box<RefCell<Option<Func<’static, args, rets>>>> type.

Initialize Wasm function in form of Box<RefCell<Option<Func<’static, args, rets>>>> only once.

Structs

Represents the function argument type.

Represents a record field type.

Represents a record type.

Represent a function type inside Marine module.

Represent Marine module interface.

The base struct of Marine, the Fluence compute runtime.

Contains module name and a size of its linear memory in bytes. Please note that linear memory contains not only heap, but globals, shadow stack and so on. Although it doesn’t contain operand stack, additional runtime (Wasmer) structures, and some other stuff, that should be count separately.

Enums

Represents the types supported by WIT.

A WIT value.

Functions

Deserialize a set of IValues to a type T that implements the Deserialize trait.

Serialize a type T that implements the Serialize trait to an IValue.

Type Definitions